#pragma once
/**
 * @brief 内部用，just for sports_mode_store_little_fs.c
 * 
 * 
 */

#ifndef __SPORTS_MODE_STORE_LITTLE_FS_H__
#define __SPORTS_MODE_STORE_LITTLE_FS_H__

#define SPORTS_MODE_STORE_LITTLE_FS_PATH "sports_mode"

#define SPORTS_MODE_STORE_LITTLE_FS_FILE_NAME_FMT SPORTS_MODE_STORE_LITTLE_FS_PATH"/%lu_%u" //!< time mode

#define SPORTS_MODE_STORE_LITTLE_FS_TEMP_FILE SPORTS_MODE_STORE_LITTLE_FS_PATH"/temp"

#define SPORTS_MODE_STORE_LITTLE_FS_COPY_TEMP (112)

#define SPORTS_MODE_STORE_LITTLE_FS_STORE_COUNT (10) //!< 保留最近多少次运动模式的数据

typedef struct __sports_mode_store_little_fs_head_t
{
    sports_mode_id_t id;
    sports_mode_summary_info_t summay;    
    //! sports_mode_detail_t array
} sports_mode_store_little_fs_head_t;
#endif //!<__SPORTS_MODE_STORE_LITTLE_FS_H__
